package cn.tedu.spring.scope;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
@Scope(value = "singleton")  //单例模式
//@Scope(value = "prototype")   //多例模式
@Component
public class Order {

}
